<?php 
	$this->backend_left_menu = 'menu_index';
?>

<?php
$this->breadcrumbs=array(
	UserModule::t("Users"),
);
?>

<h2><?php echo UserModule::t("List User"); ?></h2>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
	'columns'=>array(
		array(
			'name' => 'userName',
			'type'=>'raw',
			'value' => 'CHtml::link(CHtml::encode($data->userName),array("user/view","id"=>$data->id))',
		),
		array(
			'name' => 'email',
			'value' => '$data->email',
		),
		array(
			'name' => 'firstName',
			'value' => '$data->firstName',
		),
		array(
			'name' => 'lastName',
			'value' => '$data->lastName',
		),
	),
)); ?>
